RISC OS 3.7 User Guide
This appendix assumes that you know how to generate and edit the contents of the Desktop boot file stored within the !Boot application (see page 54). The information in this chapter is not needed for general operation of the computer and should only be used with care. Make a copy of your existing !Boot before changing anything.
Alarm$Options controls the format of the time and date display on the icon bar when the Display format is set to User defined. The default setting is
-format %z12:%mi:%se %pm. %zdy/%zmn/%yr
and produces displays like this:
12:12:32 pm. 23/1/90
1:15:30 am. 1/12/89
You can set features of this type by setting up Paint as you wish to use it, then saving these features in a Desktop boot file.
There are several features of Paint that you can set before saving a Desktop boot file, so that they are set up the way you want them each time you switch on. The Paint features that will be recorded when you go through this process are known as Paint$Options.
If you wish to set the Paint display features, without running Paint itself, follow these steps:
\Resources:$.Apps.!Paint
Set Paint$Options
unchanged.)Set Paint$Options ...
where the string of letters and numbers corresponds to the display features you have selected.
Here are two examples:
Set Paint$Options "DFW C+ T+ G7"
This means show full info, use desktop colours, colours window and toolbox on, grid displayed in black (colour 7).
Set Paint$Options "DDB CS T- Z4:1"
This means show drawing and name, use BBC colours, small colours window on, toolbox off, zoom factor 4:1.
If you create a Desktop boot file automatically, you may still want to edit it later. The following list of options therefore shows the parameters for Set Paint$Options.
Letter: Feature controlled: Possible values: Meaning:
D
or F W
or B
: Drawing and name or Full info Desktop colours on (Wimp) or off (use BBC colours)
+
or - L S
: Colours window on or off Small colours off Small colours on
+
or -
: Toolbox on or off
+
or -
n: Grid on or off (at zoom factors of 4:1 or above); n specifies colour for the grid.If you have not changed any settings for Paint, the line will appear in your Desktop boot file as:
Set Paint$Options ""
DDW C+L T+ Z1:1 G+7
These features are stored by setting up SciCalc as you wish to use it, and then saving the Desktop boot file.
Unset SciCalc$Window
to
Set SciCalc$Window 700,900
The numbers are the x and y graphics coordinates for the bottom-left corner of the displayed window.
You can also choose a particular base and trigonometric mode in which SciCalc is to start, by setting SciCalc$Options, for example
Set SciCalc$Options 2,1
The first number specifies the base, the second the mode. Allowed values are:
Base
Mode
The last example sets the base to binary and the trigonometric mode (used when you next change to decimal base) to radians. The default values are 1,2
(decimal and degrees).
Add one or more of the following lines to the Desktop boot file:
Pinboard -Grid
: Starts the Pinboard with grid lock.
Pinboard
: Starts the Pinboard without grid lock.
Backdrop filename
: Gives the filename of the sprite to be used as a Pinboard backdrop, for example Backdrop adfs::4.$.alfalfa
makes a backdrop by displaying the sprite alfalfa
.
Backdrop filename -Scale
: Scales the sprite so that it covers the background completely.
Backdrop filename -Centre
: Centres the sprite so that it keeps its proportions.
Backdrop filename -Tile
: Makes enough copies of the sprite to cover the background completely.
Pin filename x_pos y_pos
: Gives the position of an icon on the background, for example Pin Resources:$.Apps.!Configure 350 500
puts the !Configure icon on the background at position 350 500 (given in OS units).
Note: To use a backdrop specified in the desktop boot file, you must set the background texture in !Boots Screen configuration window to None.
You can set features of this type by setting up Edit just as you wish to use it, then save these features by saving a Desktop boot file.
There are several features of Edit that you can set before saving a Desktop boot file, so that they are set up the way you want them each time you switch on. The Edit features that will be recorded when you go through this process are known as Edit$Options.
If you wish to set the Edit display features each time you start your computer, without running Edit itself, follow these steps:
Set Edit$Options...
where the string of letters and numbers corresponds to the display features you have selected. (If you have not changed any display features, no Edit$Options line will appear in your boot file.)
Here are two examples:
Set Edit$Options F13 B0 W8 H12 NTrinity.Medium
This sets the text colour to olive green (colour 13) on a white background (colour 0), the font width and height to 8 and 12 points respectively, and the font to Trinity Medium.
Set Edit$Options F8 D NCorpus.Medium
This sets the text colour to dark blue, leaving the background white, switches word wrap on, and sets the font to Corpus Medium.
If a font name is specified it must appear last in the list of Edit$Options.
The table below identifies the display features that will be recorded when you do this, and provides a reference for those who may wish to create their own boot file without using the Desktop boot facility, or who may wish to edit a boot file after creating it.
Letter: Feature specified: Default:
You can set features of this type by setting up Draw as you wish to use it, then save these features by creating a Desktop boot file.
There are several features of Draw that you can set before saving a Desktop boot file, so that they are set up the way you want them each time you switch on. The Draw features that will be recorded when you go through this process are known as Draw$Options.
If you wish to set the Draw features, without running Draw itself, follow these steps:
\Resources:$.Apps.!Draw
Set Draw$Options
unchanged.)
where the string of letters and numbers between the double quotes corresponds to the features you have selected. If you have not changed any features, the Set Draw$Options line will appear in your boot file as
Set Draw$Options ""
Here are two examples of Draw$Options:
Set Draw$Options P4L T- MS
This selects a paper size of A4 in landscape format, turns the Toolbox off and chooses the select tool as default.
Set Draw$Options G1x10SL ML
This causes a 1 inch grid with 1/10 inch subdivisions to be displayed, with grid lock on, and the line tool selected as default.
If you do not specify an option in the command, it will be set to the default. Case is not significant, except for the values that can be given to the M option: L or l, and C or c (see the list below).
The table below provides a reference for those who may wish to create their own boot file without using the Task manager, or who may wish to edit a boot file after creating it.
Letter: Feature controlled: Possible values and their meaning:
+
or -
: Toolbox on or off
L l C c R E T S
, where L = Line, l = Closed line, C = Curve, c = Closed curve, R = Rectangle, E = Ellipse, T = Text, S = Select
Setting and its meaning:
Set Draw$Options Un""
substituting for n the size you want, in bytes (must be divisible by four). To make the buffer this size each time you use Draw, edit the line that the Task manager will have created for you in your boot file (described in Saving display features on page 434) adding the Un immediately before the double quotes at the end of the line.